/**
 *Copyright (c) 2024 watereyes
 * workflow is licensed under Mulan PubL v2.
 * You can use this software according to the terms and conditions of the Mulan
 * PubL v2.
 * You may obtain a copy of Mulan PubL v2 at:
 *          http://license.coscl.org.cn/MulanPubL-2.0
 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
 * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
 * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
 * See the Mulan PubL v2 for more details.
 */
package com.koron.workflow.systemManag.bean;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;

public class EnumQueryBean {
    // 字典组编号
    private String oldCode;
    // 字典组编号
    @NotNull(message = "字典组编号不能为空")
    @Size(max = 50, message = "字典组编号最多能输入50个字符")
    private String code;
    // 字典组名称
    @NotNull(message = "字典组名称不能为空")
    @Size(max = 50, message = "字典组名称最多能输入50个字符")
    private String name;
    // 字典项
    private List<EnumItemBean> itemBeans;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<EnumItemBean> getItemBeans() {
        return itemBeans;
    }

    public void setItemBeans(List<EnumItemBean> itemBeans) {
        this.itemBeans = itemBeans;
    }

    public String getOldCode() {
        return oldCode;
    }

    public void setOldCode(String oldCode) {
        this.oldCode = oldCode;
    }
}
